<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <title>安装向导</title>
    <link rel="stylesheet" href="__STATIC__/lib/bootstrap/css/bootstrap.min.css">
    <script src="__STATIC__/lib/jquery/jquery-2.1.4.min.js"></script>
    <script src="__STATIC__/lib/bootstrap/js/bootstrap.min.js"></script>
    <style>
        .main-container {
            border: 1px solid gray;
        }
    </style>
</head>
<body>

<style type="text/css">
    .container {
        padding: 25px 0px;
        width: 50%;
    }
</style>
<div class="container">
    <h1>WeiPeter安装</h1>
    <pre>这个页面我没做过滤，不要搞事，自己整死自己~
注意：只能使用Mysql数据库，而且要先创建数据库后安装</pre>
    <form  class="form-horizontal" role="form" action="{:url('install')}" method="post">
        <strong>数据库</strong>
        <div class="form-group">
            <label class="control-label col-sm-2">主机</label>
            <div class="col-sm-10">
                <input  name="host" type="text" class="form-control"
                        value="127.0.0.1" />
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-sm-2">端口</label>
            <div class="col-sm-10">
                <input  name="port" type="text" class="form-control"
                        value="3306" />
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-sm-2">数据库</label>
            <div class="col-sm-10">
                <input  name="database" type="text" class="form-control"
                        value="weipeter" />
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-sm-2">用户</label>
            <div class="col-sm-10">
                <input  name="db_account" type="text" class="form-control"
                />
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">密码</label>
            <div class="col-sm-10">
                <input name="db_password" type="password" class="form-control" id="inputPassword"  >
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">确认密码</label>
            <div class="col-sm-10">
                <input name="db_repassword" type="password" class="form-control" id="inputPassword"  >
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-sm-2">盐</label>
            <div class="col-sm-10">
                <input  name="salt" type="text" class="form-control"
                        value="WeiPeter:" />
            </div>
        </div>
        <br />
        <br />
        <strong>管理员账号</strong>
        <div class="form-group">
            <label class="control-label col-sm-2">管理员</label>
            <div class="col-sm-10">
                <input  name="account" type="text" class="form-control"
                        value="admin" />
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">密码</label>
            <div class="col-sm-10">
                <input name="password" type="password" class="form-control" id="inputPassword"  >
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">确认密码</label>
            <div class="col-sm-10">
                <input name="repassword" type="password" class="form-control" id="inputPassword"  >
            </div>
        </div>

        <button  type="submit" class="btn btn-default btn-block">安装</button>
    </form>
</div>


</body>

</html>